package org.zhxy.zhxy.service;

import org.zhxy.zhxy.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
/**
 * @InterfaceName AdminService
 * @Description 管理员表(Admin)表服务接口
 * @author yayong
 * @date 2024-10-19 20:29:59
 * @Version 1.0
 **/
public interface AdminService  extends IService<Admin>{
    Admin getByUsernameAndPwd(String username, String encodePwd);

    int forgetPwd(String email, String encodePwd);

    Admin getByEmail(String email);

    boolean usernameExists(String username); // 检查用户名是否存在
}

